<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<abc id="abc" a="他们try2" b="222" c="333">abcadhfalshdflasdfM</abc>
<data id="data">
<menu id="accountquery" src="img0.png" title="账户查询">
	<menu src="logon.png" id="logon.png" text= "快捷查询" >
	</menu>
	<menu src="logon.png" id="logon.png" text= "余额查询" >
	</menu>
	<menu src="logon.png" id="logon.png" text= "明细查询" >
	</menu>
	<menu src="logon.png" id="logon.png" text= "年金查询" >
	</menu>
	<menu src="logon.png" id="logon.png" text= "年金查询" >
	</menu>
</menu>
</data>

<form id="abcd" action"abc"/>

<script>



function getmenu(id,row,name)
{
 nodes =  document.getElementById(id).getElementsByTagName("menu");
 return nodes[row].getAttribute(name);
}

function getmenulength(id)
{
 elements =  document.getElementById(id).getElementsByTagName("menu");
 return elements.length;
}


	
function xmlhttp()
{
	
	xmlhttp = new XMLHttpRequest();
	xmlhttp.onreadystatechange=function()
	{
		if (xmlhttp.readyState==4)
		{

	
			document.getElementById("data").innerHTML=document.getElementById("data").innerHTML+xmlhttp.responseText;
			document.getElementById("abcd").submit();
			
		}
	}
	xmlhttp.open("GET","menus.xml",true);
    xmlhttp.send();
	return xmlhttp.responseText;

}













</script>